package com.secxiot.provider.communication.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel
@Data
@ToString
public class CommunicationTalkVo implements Serializable {

    private static final long serialVersionUID = -7310157846220994876L;

    @ApiModelProperty(value = "主题id", required = true)
    private Long id;

    @ApiModelProperty(value = "主题标题", required = true)
    private String title;

    @ApiModelProperty(value = "内容", required = true)
    private String content;

    @ApiModelProperty(value = "内容类型1:文本,2图片,3文件", required = true)
    private String contentType;

    @ApiModelProperty(value = "接收人", required = true)
    private Long receiveUser;

	@ApiModelProperty(value = "主题读取状态0-未读  1-已读", required = true)
	private Integer readFlag;

	@ApiModelProperty(value = "是否删除，0：未删除 1：已删除", required = true)
	private Integer delFlag;

    @ApiModelProperty(value = "最新消息时间", required = true)
    private String latestTime;

	@ApiModelProperty(value = "发起人未读数量", required = true)
    private Integer creatorUnread;

	@ApiModelProperty(value = "接收者未读时间", required = true)
	private String receiverUnread;

	@ApiModelProperty(value = "发起人id", required = true)
	private Long createUser;

    @ApiModelProperty(value = "发起时间", required = true)
    private Date createTime;

	@ApiModelProperty(value = "更新时间", required = true)
	private Date updateTime;
}
